<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>招聘计划</title>
    <%@ include file="/WEB-INF/views/common/common.jsp" %>
    <link rel="stylesheet" href="/static/js/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/static/js/plugins/layui/css/admin.css" media="all">

    <script src="/static/index/plugins/layui/layui.js"></script>
    <script src="/static/index/plugins/jquery-form/jquery.form.min.js"></script>
    <script type="text/javascript" src="/static/js/system/recruit.js"></script>

</head>
<body>


<table id="recruit_datagrid"></table>

<%--列表顶部工具栏--%>
<div id="recruit_toolbar">
    <%--列表--%>

        开始:
        <input type="text" class="easyui-datebox" name="beginDate" id="beginDate" prompt="开始日期"/>
        ~
        结束
        <input type="text" class="easyui-datebox" name="endDate" id="endDate" prompt="结束日期"/>

    <input type="text" editable="false"  class="easyui-combobox" name="plantype.id" id="plantypeId"
                   prompt="计划类别" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=100',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'
                                       "/>

     <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true"
               data-cmd="query">查询</a>

        <%----%>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="add()">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="edit()">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-man',plain:true" id="change_btn"
       data-cmd="changeState_2">审核</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>
<div>
</div>
<%--审核弹框--%>
<div id="approve_dialog" align="center">
    <h3> 请审核</h3>
    <div id="app">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-success',plain:true" data-cmd="agree">同意</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-error',plain:true" data-cmd="disagree">不同意</a>
    </div>
</div>


<%--保存/编辑 对话框--%>
<div id="recruit_dialog">
    <form method="post" id="recruit_form">
        <td><input class="easyui-textbox" name="id" type="hidden"/></td>
        <table align="center" style="margin-top:15px">
            <tr>
                <td>计划类别: </td>
                <td><input type="text" editable="false" class="easyui-combobox" name="plantype.id"
                           prompt="计划类别" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=100',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'
                                       "/>
                </td>

                <td>计划名称: </td>
                <td><input class="easyui-textbox" name="planName"/></td>

                <td>制定时间: </td>
                <td><input class="easyui-textbox" name="inputTime" readonly="true"/></td>

                <td>执行时间: </td>
                <td><input class="easyui-datebox" name="doTime"/></td>
            </tr>
        </table>
        <div style="margin: 20px auto 0px;">
            <table id="recruitPlanDetail"></table>
            <%--保存/编辑 对话框 底部工具栏 --%>
        </div>
    </form>
</div>
<div id="dialog_buttons">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add_detail">增加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
       data-cmd="remove_detail">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">关闭</a>
</div>


<%--保存/编辑 对话框 里的对话框--%>
<div id="recruit_add_dialog">
    <form method="post" id="recruit_add_form">
        <td><input class="easyui-textbox" name="recruit.id" id="recruitId" type="hidden"/></td>
        <table align="center" style="margin-top:15px">
            <tr>

                <td>岗位: </td>
                <td><input class="easyui-textbox" name="job"/></td>


                <td>招聘方式: </td>
                <td><input type="text" editable="false" class="easyui-combobox" name="recruitType.id"
                           prompt="招聘方式" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=116',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'
                                       "/>
                </td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>聘用形式: </td>
                <td><input type="text" editable="false" class="easyui-combobox" name="engage.id"
                           prompt="聘用形式" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=42',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'
                                       "/>
                </td>

                <td>人数: </td>
                <td><input class="easyui-textbox" name="recruitNumber"/></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>学历要求: </td>
                <td><input type="text" editable="false" class="easyui-combobox" name="education.id"
                           prompt="学历要求" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=17',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'
                                       "/>
                </td>

                <td>技能:</td>
                <td><input class="easyui-textbox" name="skillRequired"/></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>薪资要求: </td>
                <td><input type="text" editable="false" class="easyui-combobox" name="recruitSalary.id"
                           prompt="薪资情况" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=119',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'
                                       "/>
                </td>

                <td>备注: </td>
                <td><input class="easyui-textbox" name="remark"/></td>
            </tr>
        </table>
        <div style="margin: 20px auto 0px;">
            <%--保存/编辑 对话框的弹框 底部工具栏 --%>
            <div id="dialog_buttons_detail">
                <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true"
                   data-cmd="save_detail">保存</a>
                <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true"
                   data-cmd="cancel_detail">关闭</a>
            </div>
        </div>
    </form>
</div>


</body>
</html>